package com.molin.MethodTest;

public class Demo1Method {
    //方法的定义
    public static void eat() {
        System.out.println("吃饭");
        stu();
    }
    public static void stu(){
        System.out.println("学习");
    }
    public static void main(String[] args) {
        eat();
    }
}
